package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * 系统访问记录(SysErrorLog)表实体类
 *
 * @author simple
 * @since 2024-02-02 16:27:09
 */
@SuppressWarnings("serial")
@Data
public class SysErrorLog extends Model<SysErrorLog> {
	@TableId(type = IdType.AUTO)
	//访问ID
	private Long errorId;
	//用户账号
	private String userName;
	//错误类型（0：错误 1警告）
	private String status;
	//提示消息
	private String msg;
	//创建时间
	private Date createTime;

	private String className;

	private String methodName;

	public static final String ERROR = "0";
	public static final String WARNING = "1";

}

